package com.young4j.xinsuiwutuobang.bean;

import java.lang.reflect.Method;

/**
 * 封装Action信息
 * @author 杨飞
 *
 */
public class Handler {
	private Class<?> controllerClass;
	private Method actionMethod;
	public Handler(Class<?> controllerClass,Method actionMethod) {
		this.controllerClass = controllerClass;
		this.actionMethod = actionMethod;
	}
	
	public Class<?> getControllerClass() {
		return controllerClass;
	}

	public Method getActionMethod() {
		return actionMethod;
	}
	public void setActionMethod(Method actionMethod) {
		this.actionMethod = actionMethod;
	}
	public void setControllerClass(Class<?> controllerClass) {
		this.controllerClass = controllerClass;
	}
}
